ac.buff('晕眩'){

	control = true,	-- 控制效果
	debuff  = true,	-- 负面BUFF

    ref = 'overhead',
    model = [[Abilities\Spells\Human\Thunderclap\ThunderclapTarget.mdl]],
    time    = 2.0,
    art = 'ReplaceableTextures\\CommandButtons\\BTNStun.blp',
    tip = '该单位被眩晕了，所以不能移动，攻击和施放魔法。',

	on_add = function(self)
		self.owner:add_restriction '晕眩'
	end,

	on_remove = function(self)
		self.owner:remove_restriction '晕眩'
	end,

	on_cover = function(self,new)
		self.source = new.source
		if new.time > self:get_remaining() then
			self:set_remaining(new.time)
		end
		return false
	end,
}


